package com.boot.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.boot.entity.TUser;
import com.boot.mapper.IUserMapper;
import com.boot.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Chunsheng.Zhang
 * @date 2021/1/14 17:09
 * @description : TODO
 */

@Service
@Transactional
public class UserServiceImpl extends ServiceImpl<IUserMapper, TUser> implements IUserService {


    @Autowired
    private IUserMapper userMapper;

    @Override
    public IPage<TUser> selectUserInfoById(IPage<TUser> page, Long id) {
        return this.baseMapper.selectUserInfoById(page,id);
    }
}
